# -*- coding:utf-8 -*-
# created by jinss

f = open("name_list", mode="r+", encoding="utf-8")

print(f.readline())
print(f.tell())
f.seek(f.tell())
f.write("王五")